<div class="content4 content41 page" data-page="accountDetail" id="accountDetail">
	<p class="p1"><img src="../../../res/png/round2.png" />&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:changeTab(1)">项目总览</a>&nbsp;>&nbsp;<a href="javascript:void(0);">融资项目详情</a></p>
	<div class="d2"><span class="span1"><a id="accountDetail" class="accountDetail">融资项目信息</a></span><span class="span3">|</span><span class="span2"><a id="accountMaterial" class="accountMaterial">证明材料</a></span><span class="span3">|</span><span class="span4"><a id="accountProcess" class="accountProcess">融资动态</a></span><span class="span3">|</span><span class="span5"><!--<a id="warehousePickups" class="warehousePickups">提货列表</a>--></span>
		<a class="buttonOperate none"></a>
		<!--<a class="exceptionOperate none">异常申请<img src="../../../res/png/arrow_icon8.png"/>
			<div class="exceptionNav"><div id="interestDelayBtn">申请延期计息</div>
			<div id="prePickupBtn">申请提前还款</div><div id="delayPickupBtn">申请延期还款</div>
			<div id="detainedApplication">申请扣货</div>
			<div id="ransomPickupBtn">申请赎货</div></div></a>-->
	</div>
	<div class="tab1" id="accountDetailBody" style="padding-bottom: 15px;"></div>
	<script type="text/template" id="accountDetailTpl">
		{@each datas as it}
		<div class="d3">
			<div class="basic_info">
				基本信息
				<input type="hidden" id="financeState" value="${it.financeState}" />
				<p><span class="span1">融资编号：<span id="financeNo">${it.financeNumber}</span></span><span class="span2">申请时间：${it.applicationDateTime}</span></p>
				<p><span class="span1">申请金额：<span class="span3">&#65509;<span class="span4">${formatCurrency(it.applicationAmount)}</span></span>
					</span><span class="span2">审核金额：<span class="span4">&#65509;<span id="financeAmountt">${formatCurrency(it.financeAmount)}</span></span>
					</span>
				</p>
				<p><span class="span1">融资额度：&#65509;${formatCurrency(it.creditQuota)}（已使用&#65509;${formatCurrency((it.creditQuotaConsume).toFixed(2))}）</span><span class="span2">货物估值：<span class="span3">&#65509;${formatCurrency(it.valuation)}</span></span>
				</p>
				<p><span class="span1">放款金额：&#65509;${formatCurrency(it.loanAmount)}</span><span class="span2">放款时间：${it.loanDate}</span></span>
				</p>
				<p><span class="span1">借款方式：${getValueByKey(7, it.financeProductInnerDetail.productType)}</span><span class="span2">保证金：&#65509;{@if it.financeAuditDetail == null}0{@else}${formatCurrency(it.bail)}{@/if}</span></span>
				</p>
				<p><span class="span1">借款费率：<span id="accountDetailInterest">${it.financeProductInnerDetail.interest}%</span></span><span class="span2">借款期限：${it.financeProductInnerDetail.financeDays}天</span></p>
				<!--<p><span class="span1">融资产品：<span class="productDetail" productId = "${it.productId}" style="text-decoration: underline; color: #84b5ea; cursor: pointer;">${it.financeProductInnerDetail.productName}</span></span><span class="span2">保证金：&#65509;{@if it.financeAuditDetail == null}0{@else}${it.bail}{@/if}</span></p>-->
				<p><span class="span1">保险申明价值：<span id="accountDetailInterest">${it.declaredValue.toFixed(2)}万元</span></span><span class="span2">运输条款：${getValueByKey(48, it.deliveryMethod)}</span></p>
				<p><span class="span1">合同下载：<a href="javascript:void(0);" class="constractSample">查看</a></span><span class="span2"></span></p>
			</div>
			<div class="goods_status">${getValueByKey(30, it.financeState)}</div>
			<div class="return_info">
				还款情况
				<p><span style="width: 217px;" class="span1">已还金额：&#65509;${(it.totalExchangeAmount*1+it.totalReceivedAmount*1).toFixed(2)}</span><span class="span2">未还金额：&#65509;{@if it.totalLoanAmount - it.totalExchangeAmount - it.totalReceivedAmount + it.estimateInterest*1 > 0}${it.totalLoanAmount - it.totalExchangeAmount - it.totalReceivedAmount}{@else} 0.00 {@/if} </span></p>
				<!--<p><span class="span1">罚息金额：&#65509;0.00</span>-->
			</div>
			{@if it.financeAuditDetail == null || it.financeAuditDetail.insurance == 0}{@else}
				<div class="return_info">
					保险信息
					<p><span class="span1">保额：&#65509;${it.financeAuditDetail.forceAmount}</span><span class="span2">保险公司：${it.financeAuditDetail.insurer}</span></p>
					<p><span class="span1" style="width: 217px;">险种：${it.financeAuditDetail.insuranceType}</span><span class="span2">保单编号：${it.financeAuditDetail.insuranceNumber}</span></p>
					<p><span class="span1">保险费用：&#65509;${it.financeAuditDetail.insuranceAmount}</span><span class="span2"></span></p>
				</div>
			{@/if}
		</div>
		<div class="clear"></div>
		<div class="pledging_goods">
			<p class="goods_type">货物情况<span>${it.bulkstockCategory}</span></p>
			<table border="0" cellspacing="0" cellpadding="0">
				<thead>
				<tr>
					<th>货物名称</th>
					<th>规格型号</th>
					<th>数量</th>
					<th>重量(吨)</th>
					<th>体积(m<sup>3</sup>)</th>
					<th>产地</th>
					<th>已交割</th>
					<th>到港</th>
					<th>已提</th>
					<th>可提</th>
					<th>在押</th>
					<th>异常</th>
					<th>冷藏</th>
					<th>危险品</th>
				</tr>
				</thead>
				<tbody>
					{@each it.bulkstocks as item}
				<tr>
					<td>${item.bulkstockName}</td>
					<td>${item.specification}</td>
					<td>${item.quantity}(${item.unit})</td>
					<td>${item.weight}</td>
					<td>${item.volume}</td>
					<td>${item.originPlace}</td>
					<td><a href="javascript:void(0);">${item.supervision}</a></td>
					<td><a href="javascript:void(0);">${item.harbor}</a></td>
					<td><a href="javascript:void(0);">${item.pickup}</a></td>
					<td><a href="javascript:void(0);">${item.harbor-item.pickup}</a></td>
					<td><a class="under_a">${item.incustody}</a></td>
					<td><a href="javascript:void(0);">${item.abnormal}</a></td>
					<td>
						{@if item.coldStorage == true}
						<a href="javascript:void(0);" class="showcoldStorage" precool="${item.precool}" ptiOk="${item.ptiOk}" plug="${item.plug}" plugType="${item.plugType}" tempUpDown="${item.tempUpDown}" setTemperature="${item.setTemperature}" tempUnit="${item.tempUnit}" tempMax="${item.tempMax}" tempMin="${item.tempMin}" vent="${item.vent}" coolRemark="${item.coolRemark}" coolLetter="${item.coolLetter}">查看</a>
						{@else}
						否
						{@/if}
					</td>
					<td>
					{@if item.dangerous == true}
						<a href="javascript:void(0);" class="showDangerous" imdg="${item.imdg}" unNum="${item.unNum}" declaration="${item.declaration}" instructionManual="${item.instructionManual}" dangerousRemark="${item.dangerousRemark}">查看</a>
						{@else}
						否
						{@/if}
					</td>
				</tr>
				{@/each}
				</tbody>
			</table>
		</div>
		<div class="goods_addr">
			<p>收交货地</p>
			<p><span class="span1">发货地：${it.receiveProvince}${it.receiveCity}${it.receiveDistrict}${it.receiveAddress}</span><span class="span2">发货人：${it.receiveContactor}</span><span class="span3">发货联系人电话：${it.receiveContactPhone}</span></p>
			<p><span class="span1">收货地：${it.deliverProvince}${it.deliverCity}${it.deliverDistrict}${it.deliverAddress}</span><span class="span2">收货人：${it.deliverContactor}</span><span class="span3">收货联系人电话：${it.deliverContactPhone}</span></p>
		</div>
		<div class="pledging_goods">
			<p style="font-size: 15px; font-weight: bold; margin-bottom: 26px;">订舱箱信息</p>
			<p><span class="span1">订舱单号：${it.bookingSpaceNumber}</span></p>
			<table border="0" cellspacing="0" cellpadding="0">
				<thead>
					<tr style="background-color: #f4f5fa;">
						<th width="20%">箱型</th>
						<th width="20%">尺寸</th>
						<th width="20%">空重</th>
						<th width="20%">箱量</th>
						<th width="20%">SOC</th>
					</tr>
				</thead>
				<tbody>
					{@each it.containerBills as item}
					<tr>
						<td>${item.model}</td>
						<td>${item.dimension}</td>
						<td>${item.emptyWeight}</td>
						<td>${item.quantity}</td>
						<td>${getValueByKey(52, item.soc)}</td>
					</tr>
					{@/each}
				</tbody>
			</table>
		</div>
		<div class="require_keep">
			<p>保管要求：</p>
			<p>保管要求：${it.safekeep}</p>
			<p>标记要求：${it.markDemand}</p>
			<p>储存要求：${it.storeDemand}</p>
			<p>包装要求：${it.packingDemand}</p>
		</div>
		{@/each}
	</script>
</div>